package com.ruoyi.compensationManagement.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 退休人员补贴工资对象 compensation_retiresPayroll
 *
 * @author ruoyi
 * @date 2022-10-07
 */
public class CompensationRetirespayroll extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 退休人员补贴工资表id
     */
    private Long retireespayrollId;

    /**
     * 用户工号
     */
    @Excel(name = "用户工号")
    private String jobNumber;

    /**
     * 姓名
     */
    @Excel(name = "姓名")
    private String nickName;

    /**
     * 工资年月
     */
    @JsonFormat(pattern = "yyyy-MM")
    @Excel(name = "工资年月", width = 30, dateFormat = "yyyy-MM")
    private Date retireespayrollDate;

    /**
     * 生活补贴
     */
    @Excel(name = "生活补贴")
    private BigDecimal livingallowance;

    /**
     * 住房改革补贴
     */
    @Excel(name = "住房改革补贴")
    private BigDecimal housingreformsubsidies;

    /**
     * 退休人员慰问金
     */
    @Excel(name = "退休人员慰问金")
    private BigDecimal solatiumforretirees;

    /**
     * 浮动项目(前端数组)
     */
    private List<CompensationRetireeSubsidyProject> floatingItems;

    /**
     * 浮动项目（后端数据库读写存储字符串）
     */
    private String floatingItemsSql;

    /**
     * 合计
     */
    @Excel(name = "合计")
    private BigDecimal retireesPayrollTotal;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String retireespayrollRemarks;

    /**
     * 审核确定状态（1确定，0未确定）默认0填充
     */
    private int auditStatus;

    /**
     * 生成时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 浮动合计
     */
    private BigDecimal floatTotal;

    /**
     * 逻辑删除 0:未删除，1删除
     */
    private String deleted;

    public void setRetireespayrollId(Long retireespayrollId) {
        this.retireespayrollId = retireespayrollId;
    }

    public Long getRetireespayrollId() {
        return retireespayrollId;
    }

    public String getJobNumber() {
        return jobNumber;
    }

    public void setJobNumber(String jobNumber) {
        this.jobNumber = jobNumber;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setRetireespayrollDate(Date retireespayrollDate) {
        this.retireespayrollDate = retireespayrollDate;
    }

    public Date getRetireespayrollDate() {
        return retireespayrollDate;
    }

    public void setLivingallowance(BigDecimal livingallowance) {
        this.livingallowance = livingallowance;
    }

    public BigDecimal getLivingallowance() {
        return livingallowance;
    }

    public void setHousingreformsubsidies(BigDecimal housingreformsubsidies) {
        this.housingreformsubsidies = housingreformsubsidies;
    }

    public BigDecimal getHousingreformsubsidies() {
        return housingreformsubsidies;
    }

    public void setSolatiumforretirees(BigDecimal solatiumforretirees) {
        this.solatiumforretirees = solatiumforretirees;
    }

    public BigDecimal getSolatiumforretirees() {
        return solatiumforretirees;
    }

    public BigDecimal getRetireesPayrollTotal() {
        return retireesPayrollTotal;
    }

    public void setRetireesPayrollTotal(BigDecimal retireesPayrollTotal) {
        this.retireesPayrollTotal = retireesPayrollTotal;
    }

    public void setRetireespayrollRemarks(String retireespayrollRemarks) {
        this.retireespayrollRemarks = retireespayrollRemarks;
    }

    public String getRetireespayrollRemarks() {
        return retireespayrollRemarks;
    }

    public List<CompensationRetireeSubsidyProject> getFloatingItems() {
        return floatingItems;
    }

    public void setFloatingItems(List<CompensationRetireeSubsidyProject> floatingItems) {
        this.floatingItems = floatingItems;
    }

    public String getFloatingItemsSql() {
        return floatingItemsSql;
    }

    public void setFloatingItemsSql(String floatingItemsSql) {
        this.floatingItemsSql = floatingItemsSql;
    }

    public int getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(int auditStatus) {
        this.auditStatus = auditStatus;
    }

    public BigDecimal getFloatTotal() {
        return floatTotal;
    }

    public void setFloatTotal(BigDecimal floatTotal) {
        this.floatTotal = floatTotal;
    }

    public String getDeleted() {
        return deleted;
    }

    public void setDeleted(String deleted) {
        this.deleted = deleted;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "CompensationRetirespayroll{" +
                "retireespayrollId=" + retireespayrollId +
                ", jobNumber='" + jobNumber + '\'' +
                ", nickName='" + nickName + '\'' +
                ", retireespayrollDate=" + retireespayrollDate +
                ", livingallowance=" + livingallowance +
                ", housingreformsubsidies=" + housingreformsubsidies +
                ", solatiumforretirees=" + solatiumforretirees +
                ", floatingItems=" + floatingItems +
                ", floatingItemsSql='" + floatingItemsSql + '\'' +
                ", retireesPayrollTotal=" + retireesPayrollTotal +
                ", retireespayrollRemarks='" + retireespayrollRemarks + '\'' +
                ", auditStatus=" + auditStatus +
                ", createTime=" + createTime +
                ", floatTotal=" + floatTotal +
                ", deleted='" + deleted + '\'' +
                '}';
    }
}
